package cool.mtc.minghe.data.model.sys.permission.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author 明河
 */
@Schema(description = "列表信息")
@Data
public class PermissionListDTO {

    private Long permissionId;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "权限；格式：模块:实体:操作；例：sys:role:create（创建角色操作）")
    private String permission;

    @Schema(description = "排序")
    private Integer orderIndex;

    @Schema(description = "是否系统预设数据")
    private Boolean preset;
}
